package com.wiiss.mock.domain;

import com.wiiss.common.annotation.Excel;
import com.wiiss.common.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 模拟服务对象 mcs_mock_server
 *
 * @author my
 * @date 2021-10-18
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Slf4j
public class MockServer extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 系统
     */
    @Excel(name = "系统")
    private String systemName;

    /**
     * 服务
     */
    @Excel(name = "服务")
    private String serviceName;

    /**
     * IP
     */
    @Excel(name = "IP")
    private String ip;

    /**
     * PORT
     */
    @Excel(name = "PORT")
    private Long port;

    /**
     * 系统URI
     */
    @Excel(name = "系统URI")
    private String uri;

    /**
     * 系统入参
     */
    @Excel(name = "系统入参")
    private String reqJson;

    /**
     * 系统出参
     */
    @Excel(name = "系统出参")
    private String respJson;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

}
